﻿@{
    Lang lang = ViewBag.Lang;
    ViewBag.Title = "BookingDetail";
    Layout = "~/Views/Shared/_LayoutMember.cshtml";
    TGVR_Boot.DTO.TicketDTO[] Tickets = ViewBag.Tickets;

    DataHelper.BK_BookingDetail[] BookingDetails = ViewBag.BookingDetails;
    DataHelper.BK_Booking booking = ViewBag.booing;
}
<style>
    #info-booking b
    {
        width: 100px;
        display: inline-block;
        line-height: 24px;
    }
</style>
<div class="panel panel-default">
    <div class="panel-heading">
        <i class="fa fa-external-link-square"></i>@lang.INFO
        <div class="panel-tools">
            <a class="btn btn-xs btn-link panel-collapse collapses" href="#"></a><a class="btn btn-xs btn-link panel-config"
                href="#panel-config" data-toggle="modal"><i class="fa fa-wrench"></i></a><a class="btn btn-xs btn-link panel-refresh"
                    href="#"><i class="fa fa-refresh"></i></a><a class="btn btn-xs btn-link panel-expand"
                        href="#"><i class="fa fa-resize-full"></i></a><a class="btn btn-xs btn-link panel-close"
                            href="#"><i class="fa fa-times"></i></a>
        </div>
    </div>
    <div class="panel-body">
        <b>@lang.NAME: </b>@booking.Name<br />
        <b>@lang.PHONE: </b>@booking.Phone<br />
        <b>@lang.EMAIL: </b>@booking.Email<br />
        <b>@lang.DATEBOOKING: </b>@booking.CreatedDate.ToString("dd/MM/yyyy")<br />
        <b>@lang.TOTALPRICE:
            <label style="font-size: 30px; clear: both;">
                @BookingDetails.Sum(m => m.Price).ToString("#,##0") vnđ
            </label>
    </div>
</div>
<div id="info-booking">
    <h2>@lang.THEFILGHT</h2>
    @Html.Partial("Partials/ListTicket_Admin", Tickets)
    <h2>@lang.BOOKINGDETAIL</h2>
    @Html.Partial("Partials/_bookingdetail", BookingDetails)
    
</div>
